<template>
	<view>
		<view class="MentalHealth">
			<button @click="goToMentalHealth">心理健康测试</button>
		</view>
		<view class="Personality">
			<button @click="goToPersonality">人格测评</button>
		</view>
		<view class="Spirit">
			<button @click="goToSpirit">精神相关测试</button>
		</view>
		<view class="VocationalAbility">
			<button @click="goToVocationalAbility">职业能力</button>
		</view>
	</view>
</template>

<script>
	import {
		uniTable,
		uniTr,
		uniTh,
		uniTd
	} from '@dcloudio/uni-ui'
	export default {
		data() {
			return {
				data: []
			}
		},
		components: {
			uniTable,
			uniTr,
			uniTh,
			uniTd
		},
		methods:{
			goToMentalHealth(){
				uni.navigateTo({
					url:`/pages/Home/Exam/MentalHealth/MentalHealth`
				})
			},
			goToPersonality(){
				uni.navigateTo({
					url:`/pages/Home/Exam/Personnality/Personnality`
				})
			},
			goToSpirit(){
				uni.navigateTo({
					url:`/pages/Home/Exam/Spirit/Spirit`
				})
			},
			goToVocationalAbility(){
				uni.navigateTo({
					url:`/pages/Home/Exam/Ability/Ability`
				})
			}
		}
	}
</script>

<style>
	.exambody {
		margin-top: 10px;
	}
</style>
